cwm class objects.
cwm class objects.
getBestModel(object, criterion = "BIC", k = NULL, modelXnorm = NULL, familyY = NULL)
getPosterior(object, ...)
getSize(object, ...)
getCluster(object, ...)
getParGLM(object, ...)
getParConcomitant(object, name = NULL, ...)
getPar(object, ...)
getParPrior(object, ...)
getParXnorm(object, ...)
getParXbin(object, ...)
getParXpois(object, ...)
getParXmult(object, ...)
getIC(object,criteria)
whichBest(object, criteria = NULL, k = NULL, modelXnorm = NULL, familyY = NULL)
"summary"(object, criterion = "BIC", concomitant = FALSE, digits = getOption("digits")-2, ...)
"print"(x, ...)cwm object.
"AIC", "AICc", "AICu", "AIC3", "AWE", "BIC", "CAIC", "ICL". Default value is "BIC".
NULL all the supported infromation criteria are considered.
Xnorm. If not specified, all the estimated models are considered.
NULL, parameters estimated for all concomitant variables are returned.TRUE, concomitant variables parameters are displayed. Default is FALSE.
getBestModel (or to whichBest for the print method).
criterion, among the estimated models having a number of components among those in k an error distribution among those in familyY and a parsimonious model among those in modelXnorm.
getIC provides values for the information criteria in criteria.The getBestModel method returns a cwm object containing the best model only, selected as described above.
#res <- cwm(Y=Y,Xcont=X,k=1:4,seed=1)
#summary(res)
#plot(res)
Run the code above in your browser using DataLab